home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2005 July / Game.EXE_07_2005_DVD.iso / Flash / Tilt Maze / tilt.swf / scripts / frame_3 / DoAction.as
Encoding:
Text File  |  2005-05-13  |  249 b   |  19 lines

  1. var i = 0;
  2. while(i < mapHeight)
  3. {
  4.    var j = 0;
  5.    while(j < mapWidth)
  6.    {
  7.       removeMovieClip(_root["t_" + i + "_" + j]);
  8.       j++;
  9.    }
  10.    i++;
  11. }
  12. removeMovieClip(ball1);
  13. level++;
  14. if(level > 11)
  15. {
  16.    level = 1;
  17. }
  18. prevFrame();
  19.